﻿using MiniFox;
using MiniFox.Infrastructure;
using MiniFox.Resources;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sys.Core.Models.VO
{
    [Table("authCode")]
    public class AuthCodeVo
    {
        [Display(Name = "票据编号", ShortName = "票据编号")]
        [Column("ticketId"), JsonProperty("ticketId")]
        public string TicketID { get; set; }
        [Display(Name = "应用ID", ShortName = "应用ID")]
        [Column("appId"), JsonProperty("appId")]
        public string AppID { get; set; }
        [Display(Name = "用户", ShortName = "用户名")]
        [Column("displayName"), JsonProperty("displayName")]
        public string DisplayName { get; set; }
        [Display(Name = "用户登录名", ShortName = "用户登录名")]
        [Column("loginName"), JsonProperty("loginName")]
        public string LoginName { get; set; }
        [Display(Name = "邮箱", ShortName = "邮箱")]
        [Column("secEmail"), JsonProperty("secEmail")]
        public string SecEmail { get; set; }
        [Display(Name = "手机号", ShortName = "手机号")]
        [Column("cellphone"), JsonProperty("cellphone")]
        public string Cellphone { get; set; }
        [Display(Name = "客户端IP", ShortName = "客户端IP")]
        [Column("clientIp"), JsonProperty("clientIp")]
        public string ClientIP { get; set; }
        [Display(Name = "提取码", ShortName = "提取码")]
        [Column("code"), JsonProperty("code")]
        public string Code { get; set; }
        [Display(Name = "scope", ShortName = "scope")]
        [Column("scope"), JsonProperty("scope")]
        public string Scope { get; set; }
        [Display(Name = "context", ShortName = "context")]
        [Column("context"), JsonProperty("context")]
        public string Context { get; set; }
        [Display(Name = "创建时间", ShortName = "创建时间"), JsonProperty("createTime"), Column("createTime")]
        public DateTime CreateTime { get; set; }
        [Display(Name = "过期时间", ShortName = "过期时间"), JsonProperty("expireTime"), Column("expireTime")]
        public DateTime ExpireTime { get; set; }
    }
}
